#! /bin/sh
# Extracts localizations from source code

cd "$1"
xcrun extractLocStrings -s WMFLocalizedString -o Wikipedia/iOS\ Native\ Localizations/en.lproj/ Wikipedia/Code/*.m Wikipedia/Code/*.swift Wikipedia/Code/Advanced\ Settings/*.swift WMF\ Framework/*.m WMF\ Framework/*.swift WMF\ Framework/Remote\ Notifications/*.swift WMF\ Framework/Remote\ Notifications/*/*.swift ContinueReadingWidget/*.swift Widgets/Widgets/*.swift NotificationServiceExtension/*.swift